package com.lg.erp.service.impl.chenkang;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lg.erp.entity.chenkang.TShelves;
import com.lg.erp.mapper.chenkang.ShelvesMapper;
import com.lg.erp.service.chenkang.IShelvesService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ShelvesServiceImpl extends ServiceImpl<ShelvesMapper, TShelves> implements IShelvesService {

    @Autowired
    private ShelvesMapper shelvesMapper;


    @Override
    public IPage<TShelves> pageShelves(Page<TShelves> page,String shelvesNo,String creatTime) {
        return shelvesMapper.pageShelves(page,shelvesNo,creatTime);
    }

    @Override
    public List<TShelves> selectShelvesIdByCargoAreaName() {
        return shelvesMapper.selectShelvesIdByCargoAreaName();
    }

    @Override
    public List<TShelves> selectShelvesIdByCargoAreaId() {
        return shelvesMapper.selectShelvesIdByCargoAreaId();
    }


}
